﻿using PerceptiveMCAPI.Types;
//
namespace PerceptiveMCAPI
{
   internal static class campaignCreate_Validator
   {
      // campaign_type
      internal static Api_ValidatorMessage type_valid( EnumValues.campaign_type campaignType )
      {
         if ( campaignType == EnumValues.campaign_type.NotSpecified || campaignType == EnumValues.campaign_type.inspection )
         {
            return Validator.FormatMsg( EnumValues.MessageLevel.Error, "type",
            "The campaign 'type' was not specified, or is invalid for Api use." );
         }
         return null;
      }
   }
}
